package com.twu.bibilioteca;

/**
 * Created by IntelliJ IDEA.
 * User: dixithk
 * Date: 6/20/14
 * Time: 7:05 AM
 * To change this template use File | Settings | File Templates.
 */
public class User {

    private String name ;
    private String email;
    private String login;
    private  String password;
    private String phoneNumber;


    User(String name , String email , String login , String password , String phoneNumber)
    {
        this.name = name;
        this.email = email;
        this.password = password;
        this.phoneNumber = phoneNumber;
        this.login = login;
    }

    private String generateLoginId() {
        return String.valueOf(Math.round(Math.random()*1000)) + "-" +String.valueOf(Math.round(Math.random()*1000));
    }

    public String getName()
    {
        return name;
    }
    public String getEmail()
    {
        return email;
    }
    public String getPassword()
    {
        return password;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }

    public String getLogin() {
        return login;
    }
}
    ///Users/dixithk/IdeaProjects/TWU-bibilioteca-releas1